<div class="row">  
  <div class="span8 offset2">
    <p><h3>{{$ "subscribers.list"}}</h3></p>

{{#if pagination.models}}
    <table class="table table-striped table-bordered table-condensed">
      <thead>
	<tr>
	  <th>Nombre de dominio</th>
	  <th>Opciones</th>
	</tr>
      </thead>
      <tbody class="list"></tbody>
    </table>

    <div class="pagination">
      <ul>
	<li class="prev {{#unless pagination.prev}}disabled{{/unless}}"><a {{#if pagination.prev}}class=page{{/if}} data-id="{{pagination.prev}}">&larr; {{$ "common.pagination.prev"}}</a></li>
	{{#each pagination.pages}}
	<li class="{{class_if "active" this ../pagination.page}}"><a class="page" data-id="{{this}}">{{this}}</a></li>
	{{/each}}
	<li class="next {{#unless pagination.next}}disabled{{/unless}}"><a {{#if pagination.next}}class=page{{/if}} data-id="{{pagination.next}}">&rarr; {{$ "common.pagination.next"}}</a></li>
      </ul>

    </div>
{{/if}}

{{#unless pagination.models}}
{{$ "subscribers.list.empty"}}
{{/unless}}

    <div class="well form-actions">
      <button name="add" class="btn btn-primary">{{$ "subscribers.list.action.add"}}</button>
    </div>

  </div>
</div>

